package aggregate.aggregator.remote;

import java.io.Serializable;

public class ContentItem implements Serializable {
	private static final long serialVersionUID = -769019615617310723L;
	
	private int id;
	private long created;
	private String title;
	private String body;
	private String url;

	private int catId;

	public ContentItem(String title, String body, String url, long created)
	{
		this.title = title;
		this.body = body;
		this.url = url;
		this.created = created;
	}

	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	
/**********************************************/
	
	public long getCreated()
	{
		return this.created;
	}
	
	/**********************************************/
	
	public String getTitle()
	{
		return this.title;
	}
	
	/**********************************************/
	
	public String getBody()
	{
		return this.body;
	}
	
	/**********************************************/
	
	public String getURL()
	{
		return this.url;
	}

	public int getCategoryId() {
		return catId;
	}
	
	public void setCategoryId(int catId) {
		this.catId = catId;
	}
	
	/***********************************************/
}
